package com.zjm.structural.facade;

public class Projector {
    // 饿汉式单例模式
    private static final Projector instance = new Projector();

    private Projector() {

    }

    public static Projector getInstance() {
        return instance;
    }

    public void on() {
        System.out.println("Projector ON");
    }

    public void off() {
        System.out.println("Projector OFF");
    }

    public void focus() {
        System.out.println("Projector FOCUS");
    }
}
